package com.oneonefive.trainticketsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oneonefive.trainticketsystem.pojo.Refund;

import java.io.Serializable;
import java.util.List;


public interface RefundService extends IService<Refund> {
    @Override
    default boolean removeById(Serializable id) {
        return IService.super.removeById(id);
    }
    List<Refund> selectAllRef(Integer refundId, Integer ticketId, Integer userId,Integer page);
    int getRefRowCount(Integer refundId, Integer ticketId,Integer userId);
    void insertOrUpdate(Integer refundId, Integer ticketId, String refundTime,Integer userId);
}
